<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <!-- <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> -->
  </head>
  <body>
    <div class="" id="app"></div>
  </body>
  <script
    src="https://unpkg.com/react@18/umd/react.production.min.js"
    crossorigin
  ></script>
  <script
    src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"
    crossorigin
  ></script>
  <!-- <script src="./lib/react.development.js"></script>
  <script src="./lib/react-dom.development.js"></script> -->
  <script>
    const domContailner = document.querySelector("#app");
    const root = ReactDOM.createRoot(domContailner);
    const h = React.createElement;
    root.render(
      h(
        "div",
        { className: "test", title: "哈哈哈哈" },
        "我是一个小小div",
        h("div", { className: "sac", title: "awjdnawd" }, "dwkjabduwabdawuib")
      )
    );
  </script>
</html>
